﻿@model IEnumerable<ReadModel.ViewModels.NoteListItem>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>Index</title>
</head>
<body>
    <div>
        Notes:
        <br />
        <ul>
            @foreach (var item in Model)
            {
                <li>@Html.ActionLink(item.Summary, "Details", new{noteId = item.NoteId}) [@item.Importance]</li>
            }
        </ul>
    </div>
    <hr />
    <div>
        @{Html.RenderAction("CreateNote");}
    </div>
</body>
</html>
